package cn.tedu.ivos2.audit.mapper;

import cn.tedu.ivos2.audit.pojo.dto.AuditQuery;
import cn.tedu.ivos2.audit.pojo.dto.AuditSaveDTO;
import cn.tedu.ivos2.audit.pojo.entity.Audit;
import cn.tedu.ivos2.audit.pojo.vo.AuditVO;

import java.util.List;

public interface AuditMapper {
    void saveAudit(Audit audit);

    List<AuditVO> selectAuditByApplicationId(Long applicationId);

    void deleteByApplicationId(Long id);

    List<AuditVO> selectAudit(AuditQuery auditQuery);

    void update(Audit audit);

    Integer selectRestAuditCount(AuditQuery auditQuery);

    void deleteByAuditId(Long id);
}
